package cn.buk.tms.eotms.report.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 用于报表的酒店账单内容
 * @author william
 *
 */
public class ReportHotelDto extends ReportBaseDto {

  private String hotelName;
  private String roomType;

  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date checkIn;

  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date checkOut;

  private int roomCount;

  public ReportHotelDto(String hotelName, String roomType, Date checkIn, Date checkOut, int roomCount, double total,
                        Date opDate, String op1, int billId, String bePaid0) {
    super(op1, opDate, billId, total,
            bePaid0 == null ? 0 : Integer.parseInt(bePaid0));

    this.hotelName = hotelName;
    this.roomType = roomType;
    this.checkIn = checkIn;
    this.checkOut = checkOut;
    this.roomCount = roomCount;

  }

  public String getHotelName() {
    return hotelName;
  }

  public String getRoomType() {
    return roomType;
  }

  public Date getCheckIn() {
    return checkIn;
  }

  public Date getCheckOut() {
    return checkOut;
  }

  public int getRoomCount() {
    return roomCount;
  }

}
